/**
 * 
 */
package com.p2p.base.service;

import com.p2p.base.model.ValidateCodeSend;
import com.p2p.base.result.ValidateCodeSendResult;

/**
 * @author ruiqi
 *
 */
public interface ValidateCodeSendService {

	/**
	 * 创建校验码并发消息
	 * 
	 * @param validateCodeSend
	 * @return
	 */
	public ValidateCodeSendResult createAndSendCheckCode(ValidateCodeSend validateCodeSend);
	
	/**
	 * 校验验证码
	 * 
	 * @param validateCodeSend
	 * @param code
	 * @return
	 */
	public ValidateCodeSendResult check(ValidateCodeSend validateCodeSend ,String code);
}
